<header  class="bar bar-header  bar-dark bar-mycolor " >
		<a class="button button-clear icon ion-ios-arrow-left" ng-click="goBack()"></a>
			<h1 class="title ">我的地址</h1>
</header>

<ion-content class="has-header has-footer bk-gray" data-ng-init='initAddress()'>

	<div class="list address-list">

        <!-- <ion-list  ng-model="defaultAddress.address"> -->

          <!-- <ion-item ng-repeat="item in user_address" ng-click="showAddressDefaultConfirm(item)">
						<p>{{ item.name }}
							<span ng-show={{item.default}} class="margin_left_10px red_medium_font">默认地址</span>
							<span ng-show="isEdit" class="float-right gray_medium_font" ng-click="goToEditAddress(item)">编辑</span>
						</p> 
          	<p class="font-size-sm font-color-gray" >{{ item.address }}
							<span ng-show="isDelete" class="float-right red_medium_font" ng-click="showAddressDeleteConfirm(item)" >删除</span>
						</p>
          </ion-item> -->

					<div class="address_item" ng-repeat="item in user_address">
						<div class="address_name_area" ng-click="showAddressDefaultConfirm(item)">
							<div class="address_name_item_area">
								<p class="gray_medium_font">{{item.name}}
									<span ng-show={{item.default}} class="margin_left_10px red_medium_font">默认地址</span>
								</p>
							</div>
							<div class="address_name_item_area">
								<p class="font-size-sm font-color-gray">{{item.address}}</p>
							</div>
						</div>
						<div class="address_op_area" ng-show="isEdit">
							<div class="address_edit gray_medium_font" ng-click="goToEditAddress(item)">
								编辑
							</div>
							<div class="address_delete red_medium_font" ng-click="showAddressDeleteConfirm(item)">
								删除
							</div>
						</div>
					</div>

        <!-- </ion-list> -->

	</div>


</ion-content >

<div class="bar bar-footer" ng-show="isEdit">
	<div class="content-center">
		<a class="button button-clear button-outline button-balanced user-bt-pink" href="#/account/setting/address-add">
  			添加新地址
		</a>
	</div>

</div>
